#pragma once

#include "Script/Engine.Script.h"
#include "Base/Tests/Test.Application.h"

using namespace Script;


#undef  APP_NAME
#define APP_NAME	TestScriptApp
#undef  APP_BASE
#define APP_BASE	TestApp


class APP_NAME : public APP_BASE
{
private:
	ScriptEngine	scriptEngine;


public:
	APP_NAME (IPlatform *platform, EDevice::type deviceType) :
		APP_BASE( platform, deviceType ), scriptEngine(ESS())
	{
	}

	void OnEnter () override
	{
		scriptEngine.Init();
	}
};
